import request from '@/utils/request'

// 查询门店照片(cf_shop_image)列表
export function listShopImage(query) {
  return request({
    url: '/active/shopImage/list',
    method: 'get',
    params: query
  })
}

// 查询门店照片(cf_shop_image)详细
export function getShopImage(id) {
  return request({
    url: '/active/shopImage/' + id,
    method: 'get'
  })
}

// 新增门店照片(cf_shop_image)
export function addShopImage(data) {
  return request({
    url: '/active/shopImage',
    method: 'post',
    data: data
  })
}

// 修改门店照片(cf_shop_image)
export function updateShopImage(data) {
  return request({
    url: '/active/shopImage',
    method: 'put',
    data: data
  })
}

// 删除门店照片(cf_shop_image)
export function delShopImage(id) {
  return request({
    url: '/active/shopImage/' + id,
    method: 'delete'
  })
}
